package com.healthcloud.entity.screening;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 血糖筛查
 * @author zhangjie
 */
@Data
public class ScreeningBsEntity {

    private Long id;

    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ApiModelProperty(value = "35岁以上2型糖尿病患者 0:否 1:是")
    private Boolean patient = false;

    @ApiModelProperty(value = "测量存在危急情况 0:否 1:是")
    private Boolean danger = false;

    @ApiModelProperty(value = "意识或行为改变,出现各种症状 0:否 1:是")
    private Boolean symptom = false;

    @ApiModelProperty(value = "心跳过快 0:否 1:是")
    private Boolean heartbeat = false;

    @ApiModelProperty(value = "体温过高 0:否 1:是")
    private Boolean temperature = false;

    @ApiModelProperty(value = "血糖类型 1空腹血糖 2餐后小时 (bloodSugarType)")
    private String bloodSugarType;

    @ApiModelProperty(value = "血糖值")
    private String bloodSugarValue;

    @ApiModelProperty(value = "筛查时间")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JSONField(format="yyyy-MM-dd")
    private Date screeningTime;

    @ApiModelProperty(value = "管理方式 1一般管理 2强化管理 (managementType)")
    private String managementType;

    private Date createTime;

    private Date updateTime;

}